define([
  'models/Model'
], function(Model){
  var AlertMessage = Model.extend({

    actions:	[],
    
    defaults: {
      title:		"",
      content:	"",
      type:		"info", // Other options could be: info, error, warning, success
      about:		{}
    },
    
    addAction: function(name, title, handler) {
      this.actions.push({name: name, title: title, handler: handler});
    },
    
    removeAction: function(name) {
      delete this.actions[name];
    }
  });

  return AlertMessage;
});